package com.inspectortime.domain.billing;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.inspectortime.common.PersistentEntityBase;
import com.inspectortime.timestamp.Timestamped;

@Entity
@Table(name = "INVOICE_LINE")
public class InvoiceLineItem extends PersistentEntityBase implements Timestamped {
	
	private Date createdTime;
	private Date lastModifiedTime;
	private String inspectionId;
	private Date inspectionTime;
	private String inspectionAddress;
	private String inspectorName;
	private double amount;
	
	public double getAmount() {
		return amount;
	}
	public void setAmount(double amount) {
		this.amount = amount;
	}
	public Date getCreatedTime() {
		return createdTime;
	}
	
	@Column( length = 255 )
	public String getInspectionAddress() {
		return inspectionAddress;
	}
	
	@Column( length = 32 )
	public String getInspectionId() {
		return inspectionId;
	}
	public Date getInspectionTime() {
		return inspectionTime;
	}
	
	@Column( length = 100 )
	public String getInspectorName() {
		return inspectorName;
	}
	public Date getLastModifiedTime() {
		return lastModifiedTime;
	}
	
	public void setCreatedTime(Date createdTime) {
		this.createdTime = createdTime;
	}
	public void setInspectionAddress(String inspectionAddress) {
		this.inspectionAddress = inspectionAddress;
	}
	public void setInspectionId(String inspectionId) {
		this.inspectionId = inspectionId;
	}
	public void setInspectionTime(Date inspectionTime) {
		this.inspectionTime = inspectionTime;
	}
	public void setInspectorName(String inspectorName) {
		this.inspectorName = inspectorName;
	}
	public void setLastModifiedTime(Date lastModifiedTime) {
		this.lastModifiedTime = lastModifiedTime;
	}


}
